//
//  LBRouterHandler.h
//  LBRouter
//
//  Created by WuShiHai on 19/5/24.
//  Copyright (c) 2019 Lebbay. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LBRouterDefine.h"

FOUNDATION_EXTERN void LBRegisterControllerRouter(NSString *,Class);

FOUNDATION_EXTERN NSString *const LBRouterParameterNeedLogin;//是否需要登录

@interface LBRouterHandler : NSObject

/*
 * 处理一个具体的url打开行为
 */

+ (void)handleRouterParam:(NSDictionary *)routerParameters;

/**
 所有的原生路由映射的Class

 @return 字典
 */
+ (NSDictionary<NSString *, Class> *)controllerRouter;

/**
 根据类名获取router匹配的matchPath
 e.g. account/faceIdentify
 
 @param clazz 类名
 @return 映射的路由
 */
+ (NSString *)routerWithNativeClass:(Class)clazz;



@end
